package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单水厂生产报对象 dispatchSinglePlantProductionReports
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchSinglePlantProductionReports extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单水厂生产报表编号 */
    private Long singlePlantProductionReportsId;

    /** 关联的水厂 ID */
    @Excel(name = "关联的水厂 ID")
    private Long waterPlantsId;

    /** 报表统计的起始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报表统计的起始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportStartDate;

    /** 报表统计的结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报表统计的结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportEndDate;

    /** 报表的具体内容 */
    @Excel(name = "报表的具体内容")
    private String reportContent;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 报表生成的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报表生成的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date generatedTime;

    public void setSinglePlantProductionReportsId(Long singlePlantProductionReportsId) 
    {
        this.singlePlantProductionReportsId = singlePlantProductionReportsId;
    }

    public Long getSinglePlantProductionReportsId() 
    {
        return singlePlantProductionReportsId;
    }
    public void setWaterPlantsId(Long waterPlantsId) 
    {
        this.waterPlantsId = waterPlantsId;
    }

    public Long getWaterPlantsId() 
    {
        return waterPlantsId;
    }
    public void setReportStartDate(Date reportStartDate) 
    {
        this.reportStartDate = reportStartDate;
    }

    public Date getReportStartDate() 
    {
        return reportStartDate;
    }
    public void setReportEndDate(Date reportEndDate) 
    {
        this.reportEndDate = reportEndDate;
    }

    public Date getReportEndDate() 
    {
        return reportEndDate;
    }
    public void setReportContent(String reportContent) 
    {
        this.reportContent = reportContent;
    }

    public String getReportContent() 
    {
        return reportContent;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setGeneratedTime(Date generatedTime) 
    {
        this.generatedTime = generatedTime;
    }

    public Date getGeneratedTime() 
    {
        return generatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("singlePlantProductionReportsId", getSinglePlantProductionReportsId())
            .append("waterPlantsId", getWaterPlantsId())
            .append("reportStartDate", getReportStartDate())
            .append("reportEndDate", getReportEndDate())
            .append("reportContent", getReportContent())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("generatedTime", getGeneratedTime())
            .toString();
    }
}
